package cn.crism.ssc.util;

import java.util.Random;

/**
 * @Author: Crism
 * @Description: 随机数 时间＋随机数
 * @Data: 下午12:56 17/10/21
 */

public class KeyUtil {

    public static synchronized String genUniqueKey() {
        Random random = new Random();

        Integer number = random.nextInt(90000) + 10000;

        return System.currentTimeMillis() + String.valueOf(number);
    }

}
